using Qgm.Three.Back.Dtos;
using Qgm.Three.Back.Entities;

using WL.Think.Abp.AutoMapper;
using WL.Think.Sample.Books;

namespace WL.Think.Sample;

public class SampleAutoMapperProfile : AutoMapperProfile
{
    public override void Mapping()
    {
        Map<BookEntity, BookDto>();
        Map<CreateUpdateBookDto, BookEntity>();

        Map<DeviceCategoryEntity, DeviceCategoryDto>();
        Map<DeviceCategoryCreateUpdateDto, DeviceCategoryEntity>();
    }
}
